package com.xuxin.baby.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.xuxin.baby.R;
import com.xuxin.baby.bean.ChildVaccineBean;

import org.jetbrains.annotations.NotNull;

/**
 * Created by xu_xin
 * Created on 2020/11/18 0018
 * 疫苗
 */
public class ChildVaccineAdapter extends BaseQuickAdapter<ChildVaccineBean.ResultBean.ItemsBean, BaseViewHolder> {

    public ChildVaccineAdapter() {
        super(R.layout.item_child_vaccine);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, ChildVaccineBean.ResultBean.ItemsBean item) {
        holder.setText(R.id.item_health_vaccinate_child_name, item.getName());
    }
}